//此文件是在后端没有数据时,前端人员在模拟接口数据

//先引入mockjs模块
import Mock from 'mockjs';

import home from './home.json'

Mock.mock("/mock/index",{code:200,data:home});